import { createRoot } from 'react-dom/client'
import './index.scss'
import App from './App.tsx'
import './mock/mock.ts'
import { Provider } from 'react-redux'
import store from './store/index.ts'
import { ConfigProvider } from 'antd'
import zhCN from 'antd/es/locale/zh_CN'

createRoot(document.getElementById('root')!).render(
  <Provider store={store}>
    {/* 国际化支持 */}
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
  </Provider>,
)
